package demo4;

public final class People {
    private String name;
    private int age;
    private int sex;

    public void eat() {
        System.out.println(this.name+"正在吃饭");
    }
    public void run() {
        System.out.println(this.name+"正在跑步");
    }
    public String getName() {
        return this.name;
    }
}
